package com.maxatime.dao;

import java.util.List;

import com.maxatime.pojo.entity.EmployeeInfo;

public interface EmployeeInfoMapper {
    int deleteByPrimaryKey(Integer pkId);//删除

    int insert(EmployeeInfo record);

    int insertSelective(EmployeeInfo record);//新增

    EmployeeInfo selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(EmployeeInfo record);//修改

    int updateByPrimaryKey(EmployeeInfo record);
    
    //查询
    List<EmployeeInfo> listData(EmployeeInfo employeeInfo);
    
    //反显userID
    EmployeeInfo selectByUserId(String userId);
    
    //链接班级管理系统，新增班主任 讲师
    List<EmployeeInfo> teacher(EmployeeInfo record);
}